package com.toutiao.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.toutiao.dao.model.NewsCollect;
import com.toutiao.dao.model.NewsCollectExample;

public interface NewsCollectMapper {
	int countByExample(NewsCollectExample example);

	int deleteByExample(NewsCollectExample example);

	int deleteByPrimaryKey(Integer id);

	int insert(NewsCollect record);

	int insertSelective(NewsCollect record);

	List<NewsCollect> selectByExample(NewsCollectExample example);

	NewsCollect selectByPrimaryKey(Integer id);

	int updateByExampleSelective(@Param("record") NewsCollect record, @Param("example") NewsCollectExample example);

	int updateByExample(@Param("record") NewsCollect record, @Param("example") NewsCollectExample example);

	int updateByPrimaryKeySelective(NewsCollect record);

	int updateByPrimaryKey(NewsCollect record);

}
